<?php 
defined('IN_PHPCMS') or exit('No permission resources.');

pc_base::load_app_func('global', 'special');
pc_base::load_sys_class('base');
class index extends base{
	
	private $db,$resource;
	
	function __construct() {
		$this->db = pc_base::load_model('special_model');
		$this->resource = pc_base::load_model('resource_model');
	}
	
	/**
	 * 专题列表 
	 */
	public function project() {
		include template('project', 'special_list');
	}
	
	/**
	 * 专题首页
	 */
	public function init() {
		$template = 'index';
		//获取视频花絮
		$vedio = $this->resource->select(array('siteid'=>SITEID, 'bindtype'=>1, 'resource_type'=>2), '*', 6);
		include template('project', $template);
	}
}
?>